<?php
/**
* 
*/
class Demo
{
	
	public function run()
	{
		echo 'demo run...';
	}

}


class Text extends Demo
{
	
	public function run()
	{
		parent::run();
		echo 'test run...';
	}
}
$obj= new Text;
$obj->run();


?>